<template>
  <div class="saveBtn" @click="saveFn">{{ value }}</div>
</template>

<script>
export default {
  components: {},
  data() {
    return {};
  },
  props: {
    value: {},
  },
  methods: {
    saveFn() {
      this.$emit("saveClick");
    },
  },
  mounted() {},
  created() {},
};
</script>

<style scoped lang="less">
.saveBtn {
  width: 92%;
  margin: -1rem auto 0;
  text-align: center;
  line-height: 2.2rem;
  border-radius: 0.25rem;
  background-color: #5177f6;
  color: white;
  font-size: 0.7rem;
}
</style>
